-
Home
-
Alex Reservations: Smart Restaurant Booking
-
2.2.1
-
Code
-
Classes
- RestaurantsController
| Total Complexity |
37 |
| Dependencies |
8 |
| Dependents |
0 |
| Total lines |
320 |
| Lines of code |
208 |
| Logical lines of code |
111 |
| Comment lines |
28 |
| Methods |
13 |
| Properties |
0 |
Methods 13
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| index() |
A |
48 |
9 |
31 |
| attachTheUsers() |
A |
49 |
7 |
32 |
| updateRestaurantData() |
S |
48 |
4 |
34 |
| querySearch() |
S |
59 |
3 |
15 |
| mapRestaurant() |
S |
49 |
1 |
35 |
| metrics() |
S |
58 |
2 |
16 |
| update() |
S |
67 |
2 |
7 |
| create() |
S |
69 |
2 |
6 |
| delete() |
S |
64 |
2 |
9 |
| applySearch() |
S |
74 |
2 |
4 |
| isAdministrator() |
S |
75 |
1 |
4 |
| attachUsersAndRolesData() |
S |
67 |
1 |
8 |
| restaurant() |
S |
68 |
1 |
7 |